package com.huawei.classroom.student.h19.q05;

import java.util.HashMap;
import java.util.Map;

public class Student {
	private int allscore = 0;
	HashMap<String, Integer> map = new HashMap<>();
	
	public void collectAllscore(){
		for(Map.Entry i: map.entrySet()) {
			allscore += (int)i.getValue();
		}
	}
	
	public int getAllscore() {
		return allscore;
	}
	
}
